package Model;

/**
 *
 * Subclass for Product
 * 
 * @author Group 1
 * @version 2011.03.30.
 */
public class Clothing extends Product {
    private String size;
    private String color;

    /**
     * Constructor
     * 
     * @param name
     * @param purchasePrice
     * @param salesPrice
     * @param rentPrice
     * @param countryOfOrigin
     * @param minStock
     * @param size Size of clothing. Can be any character. Eg.: "M" "56" etc.
     * @param color Color of clothing. A simple string is enough.
     */
    public Clothing(String name, Supplier supplier, double purchasePrice, double salesPrice, double rentPrice, String countryOfOrigin, int minStock, String size, String color) {
        super(name, supplier, purchasePrice, salesPrice, rentPrice, countryOfOrigin, minStock);
        this.size = size;
        this.color = color;
    }
	public Clothing(int id) { super(id); }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }
    
    
}
